<template>
    <div class="web-header">
        <div class="header-left">
            <slot name="left"></slot>
        </div>
        <div class="header-middle"></div>
        <div class="header-right">
            <slot name="right"></slot>
        </div>
    </div>
</template>

<script>
    export default {
        name: 'm-header'
    }
</script>

<style lang="less" scoped>
    .web-header{
        display: flex;
        height: 60px;
        justify-content:space-between;
        .header-left{
            flex-basis: 250px;
        }
        .header-middle{
            flex-grow: 0;
        }
        .header-right{
            flex-grow:0;
        }
    }
</style>